package com.yc.chatroom.server.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.yc.chatroom.server.service.ChatRoomMsgService;

@RestController
@RequestMapping("/crmsg")
public class ChatRoomMsgController {
	
	@Autowired
	private ChatRoomMsgService chatRoomMsgService;

	@PostMapping("/get")
	public void get() {
		chatRoomMsgService.insertChatRoomMsg();
	}
}
